import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/mgt/dict/query',
    method: 'post',
    data
  })
}



export function saveByJson(data) {
  return request({
    url: '/mgt/dict/saveDict',
    method: 'post',
    data
  })
}



export function deletesByLogic(data) {
  return request({
    url: '/mgt/dict/deletesByLogic',
    method: 'post',
    data
  })
}

export function updateSort(data) {
  return request({
    url: '/mgt/dict/updateSort',
    method: 'post',
    data
  })
}


export function getKey(data) {
  return request({
    url: '/mgt/dict/get/' + data,
    method: 'post',
    data
  })
}



